package com.lyb.spzx.order;

import com.lyb.spzx.common.anno.EnableUserTokenFeignInterceptor;
import com.lyb.spzx.common.anno.EnableUserWebMvcConfiguration;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
@EnableFeignClients(basePackages = {
        "com.lyb.spzx.feign.cart"
        ,"com.lyb.spzx.feign.user"
        ,"com.lyb.spzx.feign.product"}) //扫描feign包
@EnableUserTokenFeignInterceptor
@EnableUserWebMvcConfiguration
public class OrderApplication {
    public static void main(String[] args) {
        SpringApplication.run(OrderApplication.class,args);
    }
}
